fix async write multi-thread issue: http://stackoverflow.com/questions/22755801/boost-asio-async-write-with-shared-buffer-over-multi-thread