Made thread_source reference counted as a workaround for ASIO's io_service not liking to be destructed during process static deinit.

Added in thread_source to the docs, which was missing.