Make connectionpool mostly compliant with pep8