dump checkpoint when interrupted