Thunkified version of async lib