(TWILL-75) Fix race condition in the InMemoryDiscoveryService that would raise concurrent modification exception.

The fix is trivial by doing a defense immutable copy of the updated discoverables Set.