fix infinity timeout.

inifinity timeout is used by the replicator for local changes. Previously when
set the default timeout of 60s was used.