osc: plugins: stop threads

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Merge branch 'master' of https://github.com/analogdevicesinc/iio-oscilloscope