delete unused code
locking
asio use_future
need to rethink how to implement timeout
remove unused code