Fix bug in BatchingBolt - have batch processing happen while we have acquired lock