check finish session