moved purging old open to inside callClose