Today, I answered a question on StackOverflow about “how to prevent GcmTaskService starting twice”.

Basically, the API prevents it automatically for developers.

Here’s the full question and answer.