Switch async code to bolts.