Bug 964876: use the sqlalchemy-recommended pessimistic disconnect handling; r=bhearsum