Updated UDP to be non-blocking