Adjust the time to call _write_yaml