captures error if sensors go offline