Stopping of thread when server is stopped (no memory leak)