PG::QueryCanceled - cannot delete a repository

After trying to delete a repository (gitlab.com SaaS) the following message is displayed on the index of the repository:
This project was scheduled for deletion, but failed with the following message: PG::QueryCanceled: ERROR: canceling statement due to statement timeout CONTEXT: SQL statement "DELETE FROM ONLY "public"."vulnerability_occurrence_pipelines" WHERE $1 OPERATOR(pg_catalog.=) "pipeline_id""
I know that similar issues are being worked on: Bugs with deletion of projects (&5936) · Epics · GitLab.org · GitLab though I did not find an issue tracking this exact message.
Unfortunately, I cannot currently provide any further details on how to reproduce this behaviour or what lead to this result.

Is there a way for me to remove the project?