removed reinitialize logic, added heartbeat logic