The tests in spec/pg/scheduler_spec.rb are now timing independent.
The nonblocking code tests now use TCPGate helper instead of just
waiting for timeout.
Relevant comment: https://github.com/ged/ruby-pg/issues/424#issuecomment-1027252494
Resolves: rhbz#1814862