peer cleanup only happens after peer is closed