Fix timing issue on mailgun tests