Added resources cleaned up during BasicResourcePool.close() to former resources list, so that a subsequent multiple close of any straggling resources won't trigger a foreign resource warning.