Close connection if we fail to delete ephemeral node for locking