Add a mechanism to shut down the IO thread.
Extract Methods.
Don't auto-start