I tested with Python 3.6 and Windows 7 64 bit.
I have a 'While True' loop for test the connection continuously. If when the program starts the connection is OK, 'get_connected' returns 'true' and the loop runs. If the connection is broken during execution, 'get_connected' still returns 'true' and db_write crashes.
Does anyone know who avoid this behaviour?
Thanks.