Add reattempt logic for NioSocketConnector.
Refactor member order of classes. Redesign close logic of
NioSessionProcessor.
Redesign closing session logic.