Close async sockets on event loop thread.

If we don't do this, we can easily corrupt the loop's internal state,
leading to some nasty crashes.