Wait for gapi ready