fix(purge): Simplify graceful agent shutdown