Revert "Osc: Fix bug when trying to stop the data sampling"

This reverts commit d2aa708b7995129d7671bcc642c77cbfc54eb46f.
Osc: Set the timeout function handler to 0 when timeout gets destroyed