count bulk in progress with atomic long, use hasFailures
added synchronisation for import response