added connection close