Added test-reconnect test app that uses ping to make sure the connection is open, and otherwise tries to reconnect.