catch selenium grid server unavailable exception