public void shutdown() {
		    try {
				LOGGER.info("Shutting down listener on " + host + ":" + port);
				running.set(false);
				// This isn't good, the Jedis object is not thread safe
				jedis.disconnect();
		    } catch (Exception e) {
		    	LOGGER.error("Caught exception while shutting down: " + e.getMessage());
		    }
		}
public void shutdown() {
		    try {
				LOGGER.info("Shutting down listener on " + host + ":" + port);
				running.set(false);
			
				jedis.disconnect();
		    } catch (Exception e) {
		    	LOGGER.error("Caught exception while shutting down: " + e.getMessage());
		    }
		}
public void shutdown() { try { logger.info("shutting down listener on " + host + ":" + port); running.set(false); jedis.disconnect(); } catch (exception e) { logger.error("caught exception while shutting down: " + e.getmessage()); } }