Basically that's it. My OBS Studio gets me out of the stream for 1-2 seconds each time when the clock reaches the time for lease expire (I get this time by writing ipconfig/all in the command prompt). After a few seconds I get reconnected and the stream continues but this means that on every 2 hours I have to warn my viewers that the stream will stop for a few seconds and they have to refresh.