Typo (variable doesn't exist, meant to be constant string) in control server's nested error handler.
Put an 'else' clause in the call to chanl:select to avoid running a busy loop.