CLOUDIFY-1791 fixed potential race condition causing cli to wait for cloud resources to release forever