Remove-SPServiceApplicationPool -Identity "Service Application Pool"
Commands in the article didn't work for me so I used the above.