Fix crash caused by unloading or reloading of res_http_post