修改closeConnection