The plugin now cleans up threads

The plugin removes the pipe reading thread when rebooting.
A readme has also been added.