add idle time for heartbeat