IMAP stream could not be alive when calling imap_reopenFolder