Fixed dsn and closed attributes in failing connection subclasses.

From ticket #192 discussion.