stays trial court proceedings