Fix warning variable conn is unused

Signed-off-by: chatgris <jboyer@af83.com>