updated incus.js to check for empty data response rather then heart beat event