- Added flag to shutdown logic to ensure shutdown logic only sends response when legacy script calls exit() not when ZF2 logic completes