[deployer] Wait more time for director connection [fixes #47391461]

Also provide a better error message when unable to connect to agent
or director.