The PIPE_INTERRUPT flag is used wrong