If you finish off the pickled onions before the suggested storage timeframe of 2 weeks ends and everything smells and looks ok, then the pickling brine can be used again. Cut down the storage time of the new batch accordingly.