fix: use busy wait with timeout, use exception for error return, fix bug on error messages
fix: use busy wait with timeout, use exception for error return, fix bug on error messages

GoogleCloudPlatform/cloud-ops-sandbox,GoogleCloudPlatform/cloud-ops-sandbox,GoogleCloudPlatform/cloud-ops-sandbox,GoogleCloudPlatform/cloud-ops-sandbox,GoogleCloudPlatform/cloud-ops-sandbox,GoogleCloudPlatform/cloud-ops-sandbox,GoogleCloudPlatform/cloud-ops-sandbox