'do' functions can discard connection