Fixed deadlock bug in UpdateCommand, reduced retry count in importer.