It won't allow the repair because there is a active connection (most likely).

You could try restarting the sql or http server to disconnect any connections and then try to repair but in most cases that won't do the trick either.

The only real option you have is to delete the table "thread" and import a backup of table "thread" which would instantly resolve your issue.

This is not a provider issue.

Good luck.