make sure that async functions do not throw