I am doing some gradle tasks from a shell script, and find that I cannot kill the process:

I click the stop process as shown in the image, but it does not stop the Upress Espresso tests on the emulator. the shell script is as simple as "./gradlew spoonDebugAndroidTest"
Is there a way to stop the tests without closing the emulator and get rid of the red box saying that I have a process?
shell android-studio android-espresso
1ak31sha
source share