TIMOB-14638 Allow code processor to wait after processing the results

Forced to wait after processing the results.
Fired an event after it analyzes the projects, so that Studio can kill the process after it reads the data.