fix bug: 补充遗漏的session_put和锁的释放

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