BS-7996, fix cache issue on groovy scripts keeping reference to outdated classloader