Clean on error.