better way of unlinking peers
keep a better count of peers