Avoid ocassional replication.js test failures due to timing issues This happens mostly on slower machines.