changed polling time to 3 secs in wifi mode