wan: cosa: drop chan->wsem on error path