cater case if server does not respond with errors