Remove multithreading from sync_keys