Created new file to try and fix the issue when trying to connect to a device mutiple times.