Handle HTTP 504