HH-32313 fixed memory leak with gelfhandler