Fixed pending request on internal server error.