The 38-year-old’s straight sets defeat to Botic van de Zandschulp may have been the last match of his career