fix: add cancel function to the Timer API to make it behave correctly with finalizers and selectables
#13744
| Job | Run time |
|---|---|
| -1s | |
| -1s |