Update connection.cpp

Removed debug code