RefManagerService: force disposal of refs

When the RefManagerService.dispose() method is invoked, instead of
calling System.gc() and waiting for things to clear up naturally, it
will forcibly stop the RefCleaner polling. This will simply trigger
cleanUp() calls on all known references, and should prevent a busy
polling loop from keeping the JVM alive on disposal.