[Haskell-cafe] detecting socket closure in haskell