Refactor db.Driver::query to clean up async logic. v0.10.15