Test query cancel duration.
Test query cancel duration.

This had been in the code as a TODO: for years: test that canceling a
long sleep does not simply wait out the full duration, but stops it
quickly.

jtv/libpqxx,jtv/libpqxx,jtv/libpqxx,jtv/libpqxx