fix bug: use method of timeout and check session ins session manager instead of use ngx_timer to solve the problem of segment fault

Signed-off-by: jason <liu_yt@neusoft.com>