Tests: prevent broken terminal after tc[gs]etattr ffmpeg race. Running multiple ffmpeg processes could lead to save/restore of the already alternated terminal state.