threads: prepare system to loop over many executions