Added a loop to the spike_fork()