Fix crash after timeout error

Hi,

I fix an error append when browserstask send a timeout.
The response is in JSON but without errors array.

Bye,
Mathieu