added a lock in method startDiscoveryTimer in class TestbedARAClient