do shutdown if there's been no idle_start in case VM never finished booting or did not register with condor
don't append to vm list unless resources checkout correctly
missing self ref on function fixed
commented out unused variable/import
cast datetime to a str to avoid recursive call in json encoding