Added Exception Handling for telnet socket timeouts.