fix crash in ec2 poller due to unhandled exception during wait cycle
fix crash in ec2 poller due to unhandled exception during wait cycle

hep-gc/cloudscheduler,hep-gc/cloudscheduler,hep-gc/cloudscheduler,hep-gc/cloudscheduler