ape_socket: async destroy upon ape_shutdown()
ape_socket: better shutdown handling after IO error