cleanup mutex attribute