Added connectionMonitor. The wrapper now automaticaly monitors the connection and reconnects if necessary