Fix webOS crash when returning from Device Store
Added better disconnect detection to CastService, fixes #23