Trace stuck “in progress” after agent tool failure

I created an agent using the OpenAI Agents SDK that calls a function. I ran the agent a couple of times and in one of those runs the tool failed. Even though the process ended, the corresponding trace in the UI is still marked as in progress. I don’t see any new logs or any increase in API usage, but I’m worried that the task might still be running in the background and could consume all my remaining credits.