Not without another profile. But that still won't help if Pandora is playing in the background.
Profile: Pandora
Context: Application Pandora
Enter Task:
Variable Set %PANDORA 1
Exit Task:
Variable Clear %PANDORA
In your task, include:
If %PANDORA Is Set
Toggle Pause
Go Home
Kill App Pandora
End If
Go Home puts Pandora in the background, which causes the Pandora profile to exit - clearing the %PANDORA variable, and improves Tasker's ability to kill the app.