Add multiple writer threads to improve throughput

Refer https://jira.corp.inmobi.com/browse/SCRIBE-37
you should move this break to inside the if condition; else you immediately break out of for loop after one iteration.