Don't return quick on a ping() if we are inside a transaction but idle: do a SELECT to the server as we do with an active session.
Per bug report #100648