Start app once only.
Throw an exception when trying to set a service twice.