Add timeout to mnesia cache and stop requests temporarily when db is overloaded