Changed TcpServer behaviour a little bit