Retry failing gclient commands before giving up