Specify explicit timeout, use smaller pipelined requests

Checking client.timeout used to break if the client is in a pipeline block.
Sending migrate command for every 1000 keys seems more reasonable.