Dmitry Timoshkov : server: Set appropriate status for a terminated thread.