Twenty-two months ago, NASA lost contact with its Stereo-B spacecraft during a routine 72-hour test.

The long silence ended on Sunday, when the probe — some 189 million miles away from Earth — finally said "hello" again to the space agency.

However, scientists in charge of the Stereo sun-observing mission are not celebrating just yet.

"The very hard and scary work is just beginning," Joe Gurman, a Stereo project scientist, told Business Insider.

"This spacecraft was designed to be as autonomous as possible when it ran into trouble," Gurman said. "If we turn on the computer, which is the only way we can get insight into the current state of the spacecraft ... what got us into this mess in the first place could turn back on again."

That means that even though NASA has reestablished contact, scientists will have only about two minutes to rescue Stereo-B before they lose the spacecraft to the void again.

A race against time

NASA/Goddard Space Flight Center Scientific Visualization Studio

NASA launched two Stereo spacecraft in 2006 to monitor our backyard star from all angles.

One is named "A" for "ahead," and the other is named "B" for "behind," since their Earth-like orbits are slightly staggered.

A coronal mass eruption of the sun recorded by Stereo-A. NASA/STEREO These twin spacecraft allowed NASA to keep tabs on the sun's frequent and angry eruptions, plus get amazing 3-D views of solar flares, huge loops of plasma, coronal mass ejections, and more.

Though the $550 million mission was supposed to wrap up in 2008, it was a big success, and NASA kept it going.

But trouble struck on Oct. 1, 2014, when Stereo-B went into a hard reset and lost touch with Earth.

As NASA explained in a December 2015 article about the recovery effort, the space agency was preparing Stereo-B for a three-month period when it would slip behind the sun and lose contact. (The sun is "the biggest source of noise in the sky," Dan Ossing, Stereo's mission operations manager at the Johns Hopkins University Applied Physics Laboratory, told NASA.)

The 72-hour, 20-minute test succeeded. But then Stereo-B stopped talking.

By poring over the last bits of data Stereo-B sent, technicians learned that the instrument that tells the spacecraft whether it's rotating and how fast had failed. That's a big problem for a robot that needs to aim its solar panels at the sun — without that instrument, it won't point in the right direction, and its batteries will drain.

NASA tried every week, and then every month, to use the Deep Space Network to regain contact over the course of 22 months. It finally succeeded on Sunday, after the sun had trickle-charged the probe from a glancing angle.

The challenge now, Gurman said, is to upload some kind of fix to Stereo-B before it drains its whatever charge is has left in its batteries.

"We have something like two minutes between when Stereo-B receives the command to boot up one of its computers and when it starts doing what we don't want it to do," Gurman said.

Making matters worse, it takes about 20 seconds to send commands to the spacecraft — a data rate that makes a dial-up modem seem lightning fast.

As a result, Gurman said engineers are taking their time to hammer out a set of brief rescue instructions while they know the spacecraft is still responsive.

If their efforts to point Stereo-B's solar panels back toward the sun fail, he said they'll have another chance to send instructions in six months, when the spacecraft has partially charged its batteries again by slowly orbiting the sun.

Gurman said this is the third solar spacecraft he's been involved with rescuing, including the Solar Maximum and SOHO missions, in more than three decades.

"I could do with a little less excitement," he said.