Fix ResourceFetcher receiving Session, close #2249