more generic this way (v instead of s in output)
much more logging in reconnect code