close pre connection when close connection