Resubscribe to topics when connection re-established

Also improved error message for when the console gives up trying to reconnect.