done: message receive, send
rarely error: disconnected -> boost thread occurs segmentation fault on osx