fixes #5 :  add on detroy method to close pools. remove connection leak with test on startup