correction, I put 1000 as the min timeout. This allows to have this not take too much CPU if for some reason flipping occurs but still make client_offline cause user_offline with a second of accuracy (assuming CPU usage is ok).