Qt: Fix close media player thread when in pause.