Remove can_write and read functions.
Add support for Linux timeout read.