Make client non-blocking and implement nc.