ProcessManager: endpattern also matches itself