Tasker music profile

I created a music profile with the following Headset plugged in = ANY , Load app = any media player , Display timeout = 30 minutes , Keyguard =off , Exit Task is as follows Kill app = any music player use root on , Keyguard = On , Display Timeout = 2 minutes . I have tried Google Music , Media Monkey . My problem is when I remove Headset the app does not kill but everything else works fine any Ideas ?


Thread starter
So I tried your suggestion and it worked for google play but not for Mediamonkey looks like MM has an issue that needs to be fixed Thanks for your help again.