request.close should close files before cancel
File reading/writeing might block on close until finished. If the context's cancel is run first it can cancel the session before that finishes. So the context's cancel should always be run last.
Loading
Please register or sign in to comment