Was killing the context as well as the socket

That was a silly thing to do...