[#1723] invoke close in eventloop