don't close sockets in a callback

Closing a stream after IOLoop has stopped results in the socket never being closed.

If you want to schedule socket closure, use add_callback(stream.close)