tried to use fcntl to make this socket non-blocking