Add patch to avoid race-condition when unloading modules while hook is active.