Adding a TelnetService unregister function and doin cleanup