Issue #3436599 by longwave: Replace RequestCloseSubscriber with needs_destruction tag on ModuleHandler (cherry picked from commit 4a26ee1f)