Tighten exception catch in peer_mgr.