Fix app exit delay
Fix destroy DataSource after export