Fix multi thread segfault bug on httpd 2.2.x