Still got dc after PING/PONG

 void PingSender()
        {
            while (true)
            {
                try
                {
                    sendIrcMessage("PONG\r\n");
                    Thread.Sleep(configs.TIME_INTERVAL_THREAD * 2);
                }
                catch (Exception)
                {
                    Console.WriteLine("erro ping");
                }


            }
    }

Solved (i think) using a thread with 2 minutes interval, apparently 5 minutes of delay is not enough. If someone else have same or similar code try this.