Fail-Safe Mechanism for removing artifacts in case of pipeline failure
issue