Connection class check null of the reference to SocketChannel object.