stasis/control: Fix possible deadlock with swap channel