Merge "Stop worker threads on memory trim & fix bad pointer access" into jb-mr2-dev