Clean-up after service creation errors

[#82739874]
Place the . on the previous line, together with the method call receiver.