runtime: remove dead select_handler and dispatcher