Clean up 'running' history-pulling code