Handle `boost::system::system_error` exception.

When we start witness_node and have error in POST request, boost library throw exception:

terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
  what():  connect: No route to host

Need to handle it and gracefully shutdown. Now we just have unhandled exception.