If measurements start with a popping noise or is being cut off prematurely, it is advised to abort the measurement and try again until the sweep is played fully and without any noise artefacts.
A possible cause which might make this problem happen is that the computer is running low on memory. A solution could be to make sure the computer does not have a lot of apps open, and minimize network activity.