The San Jose Sharks beat the New York Islanders 3-2 in an eight-round shootout Monday night at SAP Center, ending a five-game losing streak.

Ivar Stenberg scored in regulation and had the only goal in the shootout, NHL.com reported. Yaroslav Askarov made 30 saves and stopped all eight shootout attempts. Tyler Toffoli had a goal and an assist. The Sharks improved to 8-11-1 and won for just the second time in their past nine games (2-7-0).

Ben Hutton and Victor Eklund scored for the Islanders (7-6-4), who have lost four in a row (0-2-2). Ilya Sorokin made 37 saves. The Associated Press said Stenberg has six goals and is tied for the scoring lead among NHL rookies, Yahoo Sports reported. Related: Monday’s preview.