It's not uncommon that Github APIs return 50x errors from time to time. When that happens the execution of ghsync is stopped in the middle. That could be a pain if you are syncing data from a organization with a lot of data.
The command could me more resilient and try again after sometime in case of errors.