Connection == null check