Do not push empty batch at the end
Merge pull request #3 from julien-f/patch-1

Do not push empty batch at the end