in example, warn on connection failure and return