Implement export as long running task