add TCPServer status field
refactor