Added server heartbeat on desktop app