Abort telnet_thread on bind() or listen() failure.