make db.head() async