Make it possible to close the server