Changed to threading TCP server