Use asynchronous code but avoid blocking calls