Update TSocket.cs

Make sure to catch all exceptions in the ConnectCallback.