rollback firebase data if mongodb sync fails