Hotfix for Postgres driver.

On Linux due to thread scheduling algorithms, Thread.Sleep(0) doesn't work as expected.
Use Thread.Sleep(1) instead to yield control from that Thread.