Reconnecting socket for each request

I am still having connection reliability problems, even after the fix in my last PR. :-(

This solution definitely fixes it, at the expense of unnecessary socket reconnects.