Closes #210. Making sure maxLatency is not set to -1 by default. This ti...

...cket will be followed on by an API change to get rid of StoreConfig and use BatchWriterConfig and BatchScanConfig