BZ-1009028 - Business central in cluster cannot be redeployed - make sure executor is closed properly on app shutdown
(cherry picked from commit b775378260c547b802460fdb1d4e1b1759165808)