Retry connecting to director after an ECONNRESET

Signed-off-by: Zachary Auerbach <zauerbach@pivotal.io>