Set shouldKeepCallback to false if sync fails