Add ConnectionClosedError

fixes #178
Might need improvements..