Added waiting a number of tries until really stopping streams