Assistant API cancelling a run wait until expired for several minutes

I also have trouble with runs ending up in cancelled state and as a consequence, I can no longer add messages to the thread.

See also this post: Handling Errors When Adding Messages to an Active Run in OpenAI