Storing timeout handle to prevent race condition with multiple calls

I've found that sometimes multiple $http calls in quick succession can cause the bar to disappear when it should still be running.