reconnect on disconnect (early untested version)