uloop: add uloop_cancelling function