set forkcount = 1 for endtoend