Readded connection handling function call.