copy db only if wincws is closed