Make weak reference to dispatcher in resource_monitor