Fixed problem with returning database connection to pool; gets properly
recognized now and returned to the pool for future use.