Typo fix in connection.py

Just a fix for obvious type.