Added connection close.