append using handleIdleTimeout to implement