Timeouts

hello,

this should
- catch socket.timeout exception properly
- scrape another court when we get to maximum count of empty pages for one court

it moves a lot of code from level 6 of indentation to level 3 of indentation