[connman] fix service structure access while unreferencing

It's unsafe to access service struct after possibly unreferencing it
for the last time, so needed to change the order of statements in
stop_recurring_online_check() so that access after last unref isn't
possible.
Merge pull request #175 from hmallat/service_struct_access_fix

[connman] fix service structure access while unreferencing