Add second parameter to start_monitoring for error handling. If monitoring fails several times, this method will be called from the monitor thread with the last exception object and then the monitor thread will exit.
Add second parameter to start_monitoring for error handling. If monitoring fails several times, this method will be called from the monitor thread with the last exception object and then the monitor thread will exit.