Add Pool#wait for wait until list of tasks will be finished