stopTimer is only run on deactivated hook which implies the user manually closed the window.
If the window is left open when the device is shut down, or VSCode is force closed through a task manager, then the deactivated method never runs, and the timer continues.
Need a way to handle this to avoid inaccuracies with timing.