Make CTRL+C work also with telnet