make socket non blocking