sensord: add select() before read a data to check whether it is ready or not