Change script to not crash when headset disconnected in the middle of recording -- now retries every 5s