Added gc watcher that notifies the measurement threat