There's a question that is a duplicate of an older one with fitting answers. However, the question had a bounty so I couldn't close it - that's expected, so I decided to wait until it was awarded or expired.
The current answers don't solve the problem, so none has been accepted and the bounty ran an entire week. After that I tried to close it, but it appears the grace period was still active. OK, so I waited another day. Now both bounty and grace period have expired, and the post has a notice
This question had a bounty worth +50 reputation from […] that ended yesterday.
Grace period has ended
(Btw, that second sentence seems to miss a full stop)
So I've tried to close it now, but I'm still receiving the error
This question has an open bounty and cannot be closed
What's going on? How is an ended bounty still open? Do I need to wait for some mechanism to remove the bounty (like the auto-awarding script, which seems to lag behind a bit sometimes)? Or is this a bug and I need a moderator to close it?