> the current code looks like it finds the first free connection_id Actually connection_id's are increasing. The hash-lookup loop in create_mail_process just prevents (extremely unlikely) duplicates when next_connection_id wraps.