fix bug in db2 adapter reference conn too early