I basically ended up implementing a small wrapper around closeEndPoint that does
forM_ otherNodes $ \otherNode -> do
InMem.breakConnection
transportInternals
(Transport.address nodeToBeTerminated)
(Transport.address otherNode)
("Node " ++ show (Local.localNodeId nodeToBeTerminated) ++ " closed")
But I would have expected this to happen by default. Not sure if this is a documentation problem or a missing feature.