Closing BTT window (icon) after recovering from sleep

I don't want to have the BTT icon in the dock after my Mac wakes up from sleep. So I tried this:

But it doesn't work. I get no results, when I add delays, either.