Fixed error in Semaphore
Liveliness moved inside ParticipantDiscoveryProtocol class