[PATCH 2/4] server: Terminate accept asyncs when the last socket handle is closed.