fix non-determininistic reference counting segment test

I made the wait 1 second so we don't get stuck and should get us past the non deterministic nature of it for all envs