Shouldn't be necessary. We reuse the database handle in many places already, and even if that doesn't work, the right place to fix it is in the DB API code. This code here just makes the whole thing slower.