public void deleteTask(string taskName)
 {
     if (System.Threading.Monitor.TryEnter(obj5, 10000))
     {
         try
         {
             TaskControl.deleteTask(taskName);
         }
         finally
         {
             System.Threading.Monitor.Exit(obj5);
         }
     }
 }