fixing blocking udp reads