Unfortunately, it sometimes is not instantly closed, a recent one of mine took a number of days to close, after I entered the tracking.
I believe if you enter tracking at the same time as when you mark an item as dispatched this closes a case earlier.
Just a waiting game for it to close now.