retry closing sockets
travisplexer: pr-475-osx travis ci test