fix race condition in test
fix race condition in test

emailjs/emailjs-imap-client,ltgorm/emailjs-imap-client,ltgorm/emailjs-imap-client,nifgraup/browserbox,whiteout-io/browserbox,emailjs/emailjs-imap-client