removed use_heartbeat. the hb is activated if you pass --hearbeat