Sentence:  That after all his years of effort to become a <WSD>composer</WSD> , he should now , now when he was still stoutly replying to the critics of his Discourse on the Arts and Sciences , be so close to a success in music and have to reject it . 
Meaning of the word marked with <WSD> tags:  someone who composes music as a profession