removed close conn debug