This should be done via dependencies, not by blocking a service thread.