Sync up was not waiting for a record to be synched before to the next one - since the server side calls could complete out of order, you might get a done before it was actually done!