commit the handler when putting on a closed channel

Shouldn't we call commit here? That way a `put` on a closed channel is a valid `alts` operation.