Remove iochan_setevent logic. Not in use anymore