Ensure all subtitle providers are freed when closing.

Some memory was only freed when opening a new file or closing MPC-HC.