retry on close socket
travisplexer: pr-475-osx travis ci test