Fix rackconnect function. If rackconnect is specified, it will wait for status to be DEPLOYED before continuing