fix the session connection don't close