This change seems to fix the symptom I get a couple levels up the abstraction chain in Persistent: ```haskell finish :: Connection -> IO () finish (Conn fp _) = do uninterruptibleMask_ $ finalizeForeignPtr fp ``` https://github.com/yesodweb/persistent/issues/1199 I discovered this fixed that symptom here: https://github.com/yesodweb/persistent/issues/1199#issuecomment-797028500