fix iessue RavenDB-2082 Trying to use sync API inside Web API hangs