Correctly process async callbacks