Make check_multiple() thread-safe