trying to catch worker restart to close server

… to avoid EADDRINUSE