change agent shutdown workflow