Fix for restart cherrypy during unit tests