Cannot-perform-operations-on-a-shutdown-bucket

Where do you set timeout: myBucket.operationTimeout = 120 * 1000; ?