extract connection handling and memoize.
extract connection handling and memoize.

jkwatson/eboshi_api_shootout,botandrose/eboshi_api_shootout,botandrose/eboshi_api_shootout,jkwatson/eboshi_api_shootout,jkwatson/eboshi_api_shootout,botandrose/eboshi_api_shootout,botandrose/eboshi_api_shootout,jkwatson/eboshi_api_shootout,botandrose/eboshi_api_shootout,jkwatson/eboshi_api_shootout