Add for loop to kill completed connections.