Fix some async crashes.