private void CheckPoll()
 {
     if (m_PollWait > m_BackgroundPollTreshold)
     {
         try
         {
             m_IsPolling = true;
             Thread pollingThread = new Thread(PollBackground);
             pollingThread.IsBackground = true;
             PollBackgroundInput pollingInput = new PollBackgroundInput()
             {
                 m_Socket        = m_Socket,
                 m_ContainerName = m_CoroutineContainer.ToString()
             };
             pollingThread.Start(pollingInput);
         }
         catch
         {
             m_IsPolling = false;
         }
     }
     else
     {
         Poll(m_Socket, m_CoroutineContainer.ToString());
     }
 }
        private void PollBackground(object startData)
        {
            PollBackgroundInput input = (PollBackgroundInput)startData;

            Poll(input.m_Socket, input.m_ContainerName);
        }