does it have to be cleared at both the start and end of the request?