Flame dynamics in thin semi-closed tubes at different heat loss conditions