Extracting result in variable
Moving functions to extract retry after to gcm_api
Removing test file