Added blocking steps to prevent dead-lock in
vertica jdbc driver.