[FIXED JENKINS-15236] Add option not to fail the build if some error happens during the cleanup