redundant setting of code when enabled
do not keep listener channel open