I've overcame it by putting this at the top of my dashboard view (surrounded by XML tags):
< view autoCancelInterval="5" template="dashboard.html" >
The auto-cancel interval is set to 5 seconds. This means that when the search becomes inactive for 5 seconds or more, it will automatically cancel the search from running.