Fix #99 (Consider any 5xx code as down state)