Modified the posix HighResolutionTimer to cope with being started/stopped from its own callback.