Fix infinite loops in steam and winesteam runners