public void shutdown() { byte[] save = "SAVE".getBytes(Charsets.UTF_8); try { if (isPipelined()) { pipeline(pipeline.shutdown(save, null)); return; } client.shutdown(save, null); } catch (Exception ex) { throw convertSrpAccessException(ex); } }