Run essential post-commands even on batch run interrupt.