I'm not sure I correctly understand what you are saying.
My threads where intended to last practically forever, each thread handling one distinct and 'private' database connection.
The memory leak was showing up during normal operation of the threads - apparently with each thread-switch - and I checked of course that my code would not 'grow' with a simple equivalent nonthreaded counterpart.