Service Stop handler sends SIGINT to the main thread, which begins the stops the app.
This commit fixes panic when customDialContext fails to resolve the host's address.