Fix Libevent2UDPConnection.release when invoked outside of a task.

Also fixes assertion error messages ("TCP" -> "UDP").