adding check for socket sync
travisplexer: pr-522-osx travis ci test