If you were to use a mutex you'd have to synchronize around the entire call to `mod.datastor['RHOST'] = tip; check_simple` since `replicant` is called inside `check_simple`, which means you wouldn't actually be running the threads in parallel since the entire thread block would be protected by the lock.