Make sure to shutdown when parent disconnects

Should address EADDRINUSE errors