I think we wanted to do this with mutexes instead of channel. Right now this is fine though.