preventing duplicate client creations