server application cleanup