public void destroy() {
		if (mainThread != null) {
			try {
				Class threadClass = Class.forName("java.lang.Thread");
				Method stop = threadClass.getMethod("stop", new Class[0]);
				stop.invoke(mainThread, new Object[0]);
			} catch (Exception ex) {
				/* Empty */
			}
		}
	}