protected void restoreKeyOrCancle(SelectionKey key, int restore_to_status) {
		// check key
		if (key.isValid()) {
			// still valid , register the read key
			key.interestOps(key.interestOps() | restore_to_status);
		} else {
			this.cancel(key);
		}
	}