Add a monkey-patch into Transactions. Fix pytinotify running after death.