i write a module ,but when  freeradius run for a while  with it enable ,"no DB handles to use"  come up to me...,I don't know why and how to solve this problem

(In my module ,i use the sql api in rlm_sqlippool to communicate with sql ,and release after i have use the API)