[GHC] #15312: getChanContents exception behavior seems a bit odd