catch exception for registering services with same id

fixes pzp crash
Merge pull request #79 from aldafu/fix-exception-on-same-service-id

catch exception for registering services with same id