Do not allow Atmosphere to make session infinitely long (#12139)

Change-Id: I09d39ff40f9adda20eb38056ab94ddfa0b07fb64