Fixed memory leak when using AJP13