Fix #152: an exception will now be thrown when an http timeout is reached