fix client init loop
Merge pull request #7 from poegroup/client-init-loop

fix client init loop