Fix for EPR 391497 - StockDataAnalysis and StockDataAnalysis_TBB subtests fail intermittently when run on gpu