Start the service provider inside the try block