Added processing of several promises. RetrieveAllLines return list of promises.