The main process did not get blocked before. Hence a new channel 'TestDone' is added to be closed when the attack is finished.