How to close predictive search window

I’ve got a sporatic issue that’s driving me nuts… I have a test that performs a search on a page which results in a predictive search bar that doesn’t consistently close after the search is performed. Consequently, the items on the page are unable to be found and the test fails. Any ideas how I can handle this in the test itself?

In the event that the window doesn’t close automatically, how do you close the window as a manual user? Is there a ‘close button’. Do you click away from the window? Also, if the AUT is behaving inconsistently, is this not a bug that should be reported?

This will be the key to handling it programmatically.