Potential timing fix for read and write.

Fixes #27
Merge pull request #28 from wjwwood/issue_27

Potential timing fix for read and write.