Call handler terminate/2 when disconnect