JAMES-3816 Manage IMAP throttling errors (#1225)