Catch socket timeouts
Typo fix