Minor tweak to peer connected/failed hook