tests: Fix race condition in t7006-pager