Smoother termination of livestreamer