remove peer from peer list on error