Set the socket back to nonblock

fixes hot_restart and thread craziness