add wait max slave acks config