fix integer overflow with large checkpoint delay values
fix for issue #35