Osc: Fix bug when trying to stop the data sampling
- when the sampling stops, the handler of the timeout function should be set to 0