Stopping running server on ContextClosedEvent