Reordered milter shutdown sequence