The overheating protection is not a timer. It works with a temperature sensor in the water heater, if the water temperature in the unit is more than 176℉, then the propane source will be cut off.
You can enjoy the shower for a very long time as you like without worrying about the sudden hot water cut.