Mark server stopped if main loop is interrupted.