fix db conn pool bug