workaround attempt for the recursionlimit bug with qtreactor.

Increasing the recursion limit by an order of magnitude here seems to
allow a fetch of a mailbox with 500 mails.

See #5196 for discussion of alternatives.