added missing module to root pom
checking whether connection valid when using conn