Added timeout for the answer from workers.