Wrap this in a call to setTimeout in order to consistently implement an asynchronous API