added call to close db connection