Updated the container's Kill flakes function to wait for the terminated acknowledgement from the flakes instead of returning just on sending the signal.