private void writeCommand(String mode, String command) {
		try {
			_connection.getOutputStream().write((mode + command + Constants.CR_LF).getBytes());
		} catch (IOException e) {
			_logger.error("Failed writing to output stream");
		}
	}