Fix memory-leaked event_base_once() users.
The event_base_once() function is prone to leak memory on event loop exit. This becomes a bigger problem once legacy/trac#23847 (moved) is in place.
The event_base_once() function is prone to leak memory on event loop exit. This becomes a bigger problem once legacy/trac#23847 (moved) is in place.