Update parallel_run
Better locking while cloning