fixed hang by implementing rewrite_request_body_post_read