1. Set expiry on Morphemes
2. Set expiries on trends generated.
3. Throw exceptions in default cases for pattern matching so that supervisors can restart workers