AGENT-816: prevent triggering double-callbacks in metadata when large number of vms present