Refactored connections and process handling so that, upon reloading, the parent stops listening and lingers for ten seconds handling slow requests before giving up, while the child picks up the listening socket immediately and continues serving requests.