Fix for the issue number - 7411 - Thread warning output when displaying ads