Remove entity on failure