 age_s = (time) -> (new Date() - time)/1000
 
 onCompleteOpts =
-    maxAttempts : 30
+    maxAttempts : 1200  # 3s * 1200 = 3600s = 1h
 
 handle_operation = (err, operation, done, cb) ->
     if err

    detach_disk: (opts) =>
        opts = defaults opts,
            disk : required
            cb   : required
        dbg = @dbg("detach_disk")
        if not (opts.disk instanceof Disk)
            dbg("not Disk")

            dbg("done")
            opts.cb(err, metadata)

    disks: (opts) =>
        opts = defaults opts,
            cb : required
        @get_metadata
            cb : (err, data) =>
                if err
                    opts.cb(err)
                else
                    disks = (@gcloud.disk(zone:@zone, name:misc.path_split(x.source).tail) for x in data.disks)
                    opts.cb(undefined, disks)

    status : (opts) =>
        opts = defaults opts,
            cb : required
