8. He rushed to catch the train, _____ to realize he had forgotten his wallet at home.(A) needing(B) but(C) only(D) so