What are the events you are using to sense data? I would suggest creating some sort of log and have many possible events write to that log to see if 1) any one of them stops & 2) find the one that doesn't stop and use that.