Cleaned up telnetcore, use setTimeout in socket instead.