connector: PEP8 and Error Specification in destructor