I am wondering if testing the database connection will add up to the connection pool? to make it clear please see my code.

```
try {
    if (conn ==null || conn.isClosed()) {
        return false;
    }else {
        return true;
    }
} catch (Exception e){ 
    return false;
}

```

Do I need to add conn.close() after the return? even if it's just connection testing?