https://blog.techlanda.com/2016/04/how-to-terminate-telnet-session-linux.html