Finalizing Java ServiceLoader example