cleaning up the server