Refactored delete app pool out to it's own define