Initialized the channel mutex, which I had forgotten