claim an interface right before accessing the endpoint