close sock on connect error path

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>