[minor] Update example to work with the new `.listen` method