Add option to skip detach on sync.