make OkHttp test wait for close