Using channels to manage the life cycle