2b9dd68542
In some situations we need to be aware of errors to basically return it rather than polling again and angain until the timeout. Signed-off-by: Guillaume Giamarchi <guillaume.giamarchi@gmail.com>