Add multiple writer threads to improve throughput

Refer https://jira.corp.inmobi.com/browse/SCRIBE-37
Fix indentation of these 2 lines inside if condition