startNetwork causes some IO exception relating to closed channels.