Mark ME as invalid once we see a completion event, and look for events before trying to unlink. This commit was SVN r26198.