The "closing" status exists because closing a manifest with a carrier is an asynchronous operation that involves an API call to the carrier's system. Here's the workflow:
The "closing" status provides feedback to users that their request is being processed, rather than leaving them wondering if clicking "Close Manifest" did anything. It also prevents users from accidentally clicking the button multiple times.
In the UI, you'll see a spinner/loader during this state, and once complete it automatically transitions to either "closed" or "failed" based on the carrier's response.
Would you like me to remove this intermediate status and have it transition directly from open to closed/failed? Or is there something else about the flow you'd like to change?