Loosen ansi-terminal dependency.
Relax testCloseTwice restrictions.

network-transport implementation may not preserve message ordering
between different connections. However test restricts implementation
only to preserved ordering. See [1] for details.

[1] https://groups.google.com/forum/#!topic/parallel-haskell/qpvv7jT1klU