ctdbd: Avoid leaking file descriptor if talloc fails