Change to invalidate the NSURLSession.

This eliminates a memory leak.