Moved the StopTransmission so it will check if it should be run.