right now it just waits if pending goes to 0 and resynced stays 0... we should just use the /repos endpoint