• Mind you, this is only a band-aid.

    You really should identify the query that is causing the issue and tune it.