Exit vlcwrapper before destroying vlc panel