FABRIC-887: Fixes FABRIC-812 as a thread pool was not properly init/destroyed which caused it to use old class loader and causing NPE errors when a container was re-provisioned, such as adding a profile to it etc.