more consistent error handling. Exceptions for timeouts and timeouts at 10seconds