change: check if expire when Room init;
minor changes.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>