socket timeout fix

Socket Timeout was not being respected

apparently, set the timeout in the underlying socket in socketChannel does not work.
removing this timeout and calling socketChannel.socket().connect(addr,timeout) instead seems to fix this issue.

this closes #2217