Adding proper synchronization to the OracleClient so that currentLeader can be updated in a thread listening for updates to the leadership ZNode.

Adding check for leadship change after a timestamp is fetched.