Added removal of execution hook upon request shutdown