Created a local variable that stashs the key entries and waits until the...

...re are over 1000 entries until it issues a zadd.

@chasetopher