Simplified allpairs tests so that the worker is run in the foreground.
This will help with reliability of the tests.
Change to watch-file feature: if a non-append access pattern is detected,
then stop watching this file.  This will avoid pathological cases where
the entire file is repeatedly sent during execution.