handling 503 errors