public void TearDown()
 {
     if (distributor != null)
     {
         distributor.Dispose();
     }
 }