Lifetime measurements of ultracold clouds near cryogenic surfaces