fixed infinite loop if requested service name is already in use
Merge pull request #29 from daniellemayne/develop

fixed infinite loop if requested service name is already in use (develop)