1 second timeout is fairly optimistic on large networks that
span over large distances. im not sure if 5 isnt to high, but it
works reliably and the delay is fairly low.
the 'ret' dict is not being updated properly which makes the while-loop
in line 84 an infinite loop. by adding the response to 'ret' the while
loop brakes once all minions have responded
Merge pull request #5628 from felskrone/fix-batch-timeout

Fix batch timeout and infinite while-loop in batch-mode