Fix infinite loop when currentURL is not available

When webdriver is crashed, the currentURL is not available.
Error manager should handle this case.
Also, Error manager should handle several unknown errors.
Added a new error message 1005.