Close resultset, statement and connection