Remove selfpipe files, merge its functionality to event table.