Make custom url handler asynchronous in Google Drive.