exporting moved to background thread