public override void Deactivate(Thread target) { if (handle != null) { handle.Remove (target); handle = null; } }