title: C# Timer on Elapsed Time does not call method
body: <p>The below class is from a .Net Windows Service. The method <strong>DoSomeDatabaseStuff</strong> takes 10 minutes when it starts the first time but when the time is elapsed this method does not get called again.</p>
  
  <pre><code>public class Test
  {
          public void Start()
          {
              DoSomeDatabaseStuff();
  
              _oTimer = new Timer(60000);
              _oTimer.Elapsed += OnTimeout;
              _oTimer.AutoReset = true;
              _oTimer.Start();
          }
  
          private void OnTimeout(object source, ElapsedEventArgs e)
          {
              DoSomeDatabaseStuff();
  
              _oTimer = new Timer(60000);
              _oTimer.Elapsed += OnTimeout;
              _oTimer.AutoReset = true;
              _oTimer.Start();
          }
  }
  </code></pre>