Handle SocketChannel.connect() non-IOExceptions