public void stop() {
		if(this.thread != null) {
			this.cont = false;
			try {
				logger.info("Stopping monitor thread.");
				this.thread.join(JOIN_TIME);
			} catch(Exception e) {
				logger.info("Error in thread processing.", e);
			} finally {
				logger.info("Thread is destroyed.");
				this.thread = null;
			}
		}
	}