Update main.go

Place defer rows.Close() before call to PanicIf(err). If we put the defer after, then we may never execute the defer statement and leave the connection open.