exit_when_done() needed to call stop_handler_threads() too... Rev: server/base_server/roxen.pike:1.232