Fix bug of isClosed method of NioSessionProcessor.