Error when go to lock tab in sessions monitor page

Hi, i always face below error when go to locks tab in sessions monitor page


I can reproduce this.

In Session Browser, there are a few queries that can be long-running (Specifically, the ACCESS and LOCKS tabs (both locks tabs)), so we run them in threads. It's possible to get this error if we try to launch the thread to run one of those queries, but the thread is already running. Ideally what should happen instead is that the prior thread is cancelled before the new one starts, and then you never see this message. I'll investigate to see if I can fix it.