This seems to be a Bug, it should stop it as it happened the second time you tried. Please report it so we can try to replicate it and find the problem.
I would like to know what BackgroundHALShouldPause does, and how to use it. While it's listed in the HAL Primitives report, it is not used in source code and it doesn't appear in the LMS HAL...