Fix way to throw exceptions in async methods