Bug 964377 - Make waiting for notification in test-attachment-reminder.js more robust. r=mkmelin, a=me