added non-blocking option to UDP send