When we get an error, reset _waiting_for_async_done to False.