Put some try and catch in arduinoWrapper.py and ThreeThread.py