Catch timeout exceptions on login