Manually remove account on error.

see #401