minimized the hearbeat interval of demo app, remove dead instances