JBRULES-3663 - using static thread pool and updating dispose logic