Iterates a mongodb cursor with an async-like API.