Calling stopSelf() could cause the service to be destroyed before calling setForeground() and lead to a RemoteException
mentioned in commit bd0c9cac