Added timeout when waiting for processing unit instances