title: Firebase Task is not yet complete
body: <p>I am getting following exception randomly after signing out of Firebase using <code>FirebaseAuth.getInstance().signOut();</code> and signing in again</p>
  
  <p>I am trying to get the token from FirebaseUser after the user is successfully authenticated
  <code>signUpRequest.firebaseToken = user.getIdToken(true).result?.token</code></p>
  
  <p>user is the FirebaseUser received after authentication</p>
  
  <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main
     Process: agrahyah.keen, PID: 12082
     java.lang.IllegalStateException: Task is not yet complete 
         at com.google.android.gms.common.internal.zzbp.zza(Unknown Source)
         at com.google.android.gms.tasks.zzn.zzbic(Unknown Source)
         at com.google.android.gms.tasks.zzn.getResult(Unknown Source)
         at com.xxxActivity.makeSignUpRequest(xxxActivity.kt:129)
         at com.xxxActivity.access$makeSignUpRequest(xxxActivity.kt:36)
         at com.xxxActivity$signInAnonymously$1.onComplete(xxxActivity.kt:94)
         at com.google.android.gms.tasks.zzf.run(Unknown Source)
         at android.os.Handler.handleCallback(Handler.java:751)
         at android.os.Handler.dispatchMessage(Handler.java:95)
         at android.os.Looper.loop(Looper.java:154)
         at android.app.ActivityThread.main(ActivityThread.java:6077)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
  </code></pre>
  
  <p>I am using Firebase android sdk version <code>11.2.2</code>. This error never occured on previous versions of the Firebase SDK</p>