Skip timeout errors in capt_send_buf()

Signed-off-by: Vitaliy Tomin <highwaystar.ru@gmail.com>
Signed-off-by: Alexey Galakhov <agalakhov@gmail.com>
Fixed last page complete detection

Signed-off-by: Vitaliy Tomin <highwaystar.ru@gmail.com>
Signed-off-by: Alexey Galakhov <agalakhov@gmail.com>
More sloppy error handling in drain output

Signed-off-by: Alexey Galakhov <agalakhov@gmail.com>