improved vm shutdown

- added the job_id to the hostname
- added retries for vm shutdown when talking to the bb api
- added more logging for errors
- added an 'ensure' to nil off the ssh connection