Try a new workaround for "Interrupted system call in mainwindow.py