Can an animal messenger wait around to deliver its message?

The animal messenger spell allows you to send an animal messenger to a specified location to deliver a message to a specified individual. What happens if the animal arrives at its destination and the intended recipient isn’t there (nor anyone matching their description)? Can the messenger wait around (as long as the spell is active) until the intended recipient shows up, or does the spell expire immediately without the message being delivered? Is there an official answer to this?