We received an "ArgumentError: comparison of Float with nil failed" in the Mongo session pool. I believe this is because @cluster.logical_session_timeout is backed by isMaster which can change in the middle of execution.
https://github.com/mongodb/mongo-ruby-driver/pull/1081 will likely fix this.