Fix CoreFoundationDataSource not releasing resources as early as possible