Changes based on feedback

- Using an array of mutexes instead of channels for simplicity