mutex would be left locked