Use str(srv).
Iterate over a copy of a list when removing items.