Connect to galaxy for deploys only after bundling is done.

The connection was timing out during the bundle process (the setTimeout callback
was being enqueued before the connect event fired).