better error/retry handling for recorder