ensure only a single process can run at a time; this closes #7