Prevent deadlock when niosockect-thread tries to
'consoleReader.shutdown()' and the cliche tread still read from
consoleReader