adding connection to connection context object