private static void StopStatusThread( ) { lock ( statusThreadSync ) { stopEvent.Set( ); if ( !updateStatusThread.Join( 2000 ) ) { updateStatusThread.Abort( ); } stopEvent.Close( ); updateStatusThread = null; stopEvent = null; } }