Wait for stop event in server force stop