trying out nonblocking sockets