Deal with circuit_id collision

Fixes https://github.com/Tribler/tribler/issues/849.