fix crash problem when shared connection object on multi-thread
made asio independent