add custom message to the client saying that the max allowed
number of measures is reached

Change-Id: I4851f91dacb2b84b50538c259afeaf612cd5eef7