WIP: Stop memory monitor thread from crashing (hopefully). Use
the official API for determining pressure.