Hook for stopping VMs if the credit is low.(OMS-364)