Let imap_get_num_list() unlock the session itself.