Add exponential backoff wait in close command