public void bgWriteAof() {
   try {
     if (isPipelined()) {
       pipeline(pipeline.bgrewriteaof());
       return;
     }
     client.bgrewriteaof();
   } catch (Exception ex) {
     throw convertSrpAccessException(ex);
   }
 }