Jimmy
HttpClient().use { httpClient -> withTimeout(timeout) { httpClient.prepareGet(urlPath).execute { httpResponse -> ... do work ... // hangs here } } }