https://mixrolikus.cc/video/MOgvuwIb9iI/22-basic-algorithm-for-timeout-timer-computation