Remove second done call from error case