Add async/await to blocking methods.