I've found that the API crashes if you leave the miner status page up in your browser. I've stopped leaving the page open and only check it periodically. Seems to help.
If you go to Services > Miner and click save/apply. It'll restart the miner and the API used by the monitor page.