We need our own mutex around this setup.