Return 500 instead of throwing on repeated errors