Connections are not closed in a timely manner, or insufficient memory may cause some exceptions when the service stops.
Close the connection after the response content is completed.