fixed unClosed connection after retrivied content length