Tradeoff on db connection setup time and memory leaks.