LimeSDR continues to transmit after script is over


I don’t know if this is the expected behaviour of LimeSDR but I don’t think so. I’ve changed the example code singleRX.cpp to become a singleTX.cpp. I’ve added absolutely nothing to the original example, except the obvious TX configuration instead of RX and I’ve created a constant buffer to send as data stream and check the output LO frequencies on an oscilloscope. However, after the script is done, the LimeSDR continues to transmit untill I reset it. How can I change this behaviour, since I’m interested in transmitting just a pulse?