Checkpoint solution before cleaning up.