Execute some code at user abort