added checks for null
Merge pull request #95 from oorlov/check_mservice_for_null_branch

Fix for #81 Example 3: handle billing service can connect/disconnect unexpectedly