add batching option
add mutex
bump version
send messages in batches