The remuxer thread was only started if there was an actual remux job, which resulted in the remuxer thread not being able to call the worker's destructor (because it wasn't running)