Add a way out of deadlock