As you say, 'nearly' makes complete sense, whereas 'closely' simply doesn't. She may be CLOSE to finishing but 'closely' means doing something with particular attention to what is happening or alongside somebody. Janet may have been working closely with Fred or she could have followed the news closely .
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.