allow multiple calls to uloop_init() without annoying side effects