public void Dispose () { Init (null, null, null, 0); if (waithandle != null) { waithandle.Close (); waithandle = null; } }