make xorm to re-use db connection

make xorm to re-use db connection