Dynamically change the timeout for synchronizing process

Related issue for ZooKeeper:
https://issues.apache.org/jira/browse/ZOOKEEPER-1977