Moved executor checkpointing code from the Executor constructor.

Review: https://reviews.apache.org/r/26525