MLDS-308 MLDS-455 Optimize bulk imports by session flush and clear