Hold the callback closure to prevent GC from prematurely reaping it.