connection close callback added