I suspect she made a calculated trade-off during her final hours , choosing to stay at home with two beloved animals and to work ( she had just finished teaching three college courses when she died and had a long-term writing project to complete ) instead of getting to a doctor .