set heartbeat_timeout properly