[PATCH v3 3/4] server: Cancel socket asyncs when the last handle in process is closed.