Why need to check `subscription == null`? I think subscription should not be null.