Closes the request body after reading