reposync: rid of detach mode