test query
add db url parser
format connection string
close connections
fix call to close