[Refactoring] Gather the solutions to be searched prior to launching in a background thread.