FIX #31: Reset random state before reopening THREDDS connection