moved executionService.shutdown to the end of the shutdown procedure
Merge pull request #2897 from gurbuzali/ticket442-rejected-execution-shutdown-maintenance

moved executionService.shutdown to the end of the shutdown procedure