Call to nonexistent method in SelectLayer

__close_channel() does not exist anymore