conn close data race issuse