fixed teh clean up of the recorder so that EOS has time to travel the pipeline and finish