xen-netfront: fix locking in connect error path