fix race condition in cukes