ofxRemoteCamera reconnect to server

hi

i have successfully used ofxRemoteCamera but am trying to make it more robust.
if with the current example the server exits and restarts the client is not reconnecting to the server.
if the standard TCP example is does reconnect.

but i have a feeling since ofxRemoteCamera uses " while (isThreadRunning()) " it might not work.
any ideas?

thanks.

i found a work around.
even when then server disconnects remoteCam.isConnected() still outputs true.
but remoteCam.getFPS() outputs 0 in that case. so i just have it remoteCam.stop() and remoteCam.start()