ctdb-tests: Make process exists test more resilient