add batchsize of 120 file iterating loop

the default batch size of mongodb results in random cursor unknown
errors. This patch sets the batch size to 120. It might be a good idea
to have a property to configure this depending on the size of the files.
add log entry when the container is closed because it is full.