public void RemoveAll()
{
if (Active)
{
if (ThrottlesDownload)
ResetReceiveBuffer();
if (ThrottlesUpload)
ResetSendBuffer();
foreach (Connection con in cons)
{
}
}
cons.Clear();
}