Only update cmts_fetched when the current commit finishes.

Otherwise we get a race condition between the current_commit and restarting the helper