add a pause after reading a batch of files