now closes proxy sessions