Yield the db sync call by using co.