set tsMax to now + 30 min (prevent time inaccurate problems)