remove close connection