easy flag to turn on/off deadlock behavior