Fixing bugs that occur with sync when containers fail to run