read file with timeout in python,"os.read(f.fileno(), 50)"