title: SynchronizationContext thread get hang and it gets triggered after 5 hours
body: <p>Actually i am facing an issue in using SynchronizationContext triggering get delayed by 5 hours.</p>
  
  <p>we are initialize the SynchronizationContext in main form ie., when the application is launched </p>
  
  <pre><code>public static System.Threading.SynchronizationContext MainUISynchronizationContext { get; set; }
  
  public HiddenForm()
  {
  
    MainUISynchronizationContext = System.Threading.SynchronizationContext.Current;
  
  }
  </code></pre>
  
  <p>and by using SynchronizationContext i am trying to launch the new form but it is triggering after 5 hour in some cases </p>
  
  <pre><code>private void ShowFormAsync(ProHanceForm form)
  {
      try
      {
          if (log.IsDebugEnabled) log.Debug("Current synchronization thread is : " + ((HiddenForm.MainUISynchronizationContext == null) ? "null" : HiddenForm.MainUISynchronizationContext.ToString()));
  
          HiddenForm.MainUISynchronizationContext.Post(_ =&gt; { dummyForm.Show(); }, null);
      }
      catch (Exception ex)
      {
          log.Error("An exception occurred while showing the form through Synchronization Context.", ex);
  
      }
  }
  </code></pre>
  
  <p>how can we handle this kind of cases where form is triggered after 5 hours.</p>