jf: fix race condition at boot