Adding connection close.