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