Fix crashing fetch tests by setting keepalive = false

When keepalive = true (the default), additional IDLE requests are sent
to the IMAP server. The mock IMAP servers in the tests are not set up
to respond to the IDLE request.