[entropy.db] direct: wrap yield around a try/finally block