Added bridge to onResourceTimeout

So the callback onResourceTimeout will be called when something times out.