Thread.stop is deprecated