Fix timeout on latency in different data centers.

Timeout is due to latency in different data centers. Fix it by advancing the time of sending response in insert script, and then in client verify if all data is inserted.