[#2212] CID25854:

don't attempt to connect to a negative socket