Export keeps getting stuck around halfway