Note not being closed if #close is called during opening-animation

In my use-case I'm showing a note for a 'loading data' hint. Sometimes, the data is available before the note has been fully shown and thus close is called on the note before the opening animation has finished. In this situation, the note just stays there without being closed.