Yes, the app keeps IMAP connections on for a while, because IMAP allows multiple connections to have simultaneous access to an account / folder.
POP3 connections are gracefully terminated right after checking mail in the background, because POP3 does not allow concurrent access.