Avoid calling done more than once on certain errors.
0.5.5