JENKINS-12245 - Exclusion-Plugin does not release resource after job abo...

Fix an issue with the releasing of ressources thank you juraj fedorko