trying out non-blocking sockets