See https://github.com/madelson/DistributedLock/pull/209#issuecomment-2133539610 The root cause is Npgsql's [command re-use](https://github.com/npgsql/npgsql/blob/main/src/Npgsql/NpgsqlConnection.cs#L562), which means that `NpgsqlConnection.CreateCommand()` is not thread-safe.