RavenDB-2779 Tasks WaitForCompletion is broken.