Cache the Too many connections exception, close #707