Naomi Osaka survived Elisabetta Cocciaretto after a Citi Open scare