change default size of Pool(to infinite) in imap generator