Temp fix for $timeout memory leak.