Why not close the get request

In the previous section while using beautiful soup we used to close the get request why arent we doing in this ?