OnEndpointSubscribed added to the wrong endpoint