Information
If no input is detected during the interval, the EXEC facility resumes the current connection. If no connections exist, the EXEC facility returns the terminal to the idle state and disconnects the incoming session.
Solution
Configure device timeout (10 minutes or less) to disconnect sessions after a fixed idle time.
hostname(config)#line tty {line_number} [ending_line_number]
hostname(config-line)#exec-timeout <timeout_in_minutes> <timeout_in_seconds>