Prevent throwing errors out of async operations, fixes #6