iaq: better error handling

2 jobs for !508 with schneider/iaq-python in 53 seconds (queued for 3 seconds)
merge request
Name Stage Failure
failed
lint Test
 
-except(KeyboardInterrupt, ConnectionResetError) as e:
+except (KeyboardInterrupt, ConnectionResetError) as e:
print(str(e))

-#device.disconnect()
+# device.disconnect()
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1