Macrodroid kill app no root

How can I get macrodroid to close an app when I disconnect from a bluetooth device (close waze when I disconnect from my vehicle )