Only allow one writer of channels at a time

given you log when acquiring the lock, should you not log when releasing?