add public close() support to Content