You might want to check `len(con)`, just in case, to avoid unnecessary panic in case of failure.