Conditional async_client liftetime_thread creation

Create a thread and add it to io_service only if io_service is internal. If internal - do not change it.