init: Split close_m into two functions for pipeline and queue
init: del_fd doesn't need the cbs table