ProcessManager: add read_endpatterns()
ProcessManager: both read() and read_wait() require endpatterns arg. read_wait_endpatterns() and read_endpatterns() are abandoned.