GenServer: avoid refresh running in tests

Ah, I got it, thanks a lot!