[SessionManager] Fix a bug in which the timer isn't removed properly.