Switching off all server threads.