connect.c: do not leak "conn" after showing diagnosis