prevent connect/load race condition on client