[PATCH 1/5] server: Cancel asyncs before closing handles when a process is destroyed.