LONDON—Radek Stepanek is not planning on retiring.

On the contrary, he's continuing to set goals for himself.

The 37-year-old Czech fell to Nick Kyrgios in four sets in the first round of Wimbledon, with Kyrgios saying they had talked about a coaching relationship.

But Stepanek is not switching careers just yet.

"Definitely I'm not thinking about retiring," he said in a press conference following the match.

Stepanek, who took Andy Murray to five sets in the first round of the French Open, is making a comeback from a leg injury that sidelined him in 2015. He hopes to win a Grand Slam match in his 40s, inspired by Jimmy Connors, who won a match at the U.S. Open as a 40-year-old in 1992.

"We set a goal with my conditioning coach,” he said. “Jimmy Connors was the oldest man to win a match in a Grand Slam. I'm the second oldest, so it would be great to get that [record] as well.”

Kyrgios, who stopped working with his previous coach a year ago, told journalists that Stepanek had been helping him intermittently.

"I don't really know what I want yet with a coach,” said Kyrgios, who has Davis Cup captain Lleyton Hewitt helping him. “So for me, [it’s nice] just to have him give me advice here and there while his career is still going. You never know ... When he stops, he might step into a role where I might bring him along to tournaments. I don't know.

"I'm more than willing to give it a go with a guy like that, that has had such great success for a long time."

Asked about coaching Kyrgios, Stepanek said he would be interested in the position once he hangs up his racquet.

"We talked [a] few times together,” Stepanek said. “I think Nick has great potential. If [eventually] he thinks I can help him, why not?"

Stepanek is No. 121 in the rankings.