Query timeout not honored

I'm trying to insert ~25k rows into Retool DB from a csv import. Unfortunately write perfomance seemds quite bad so the query exceeds the max timeout of 120s.

Hence, I'm splitting the insert into batches of 1k rows and I'm manually triggering the insert query. However, when I do that, some of the queries start timing out after 20-25s.

Is this a bug?