Improve RecordingHelper::SaveThread shutdown behaviour

This gives unfinished recordings a bit more time to write the remaining
buffered packets before threads are (potentially) terminated