I doubt he's hanging around hoping to get signed here.
Wants to stay in shape in case another Team comes calling, Leafs are helping him out as he must be a good guy.
It's about keeping as many options open as possible.
He stays in shape while helping out the Leafs team. By doing that, he can be ready if the Leafs or any other team calls him for help when the IR list gets too long.
He is also showing that he's a team guy by sticking around which could land him a job off the ice for the Leafs in whatever capacity the Leafs feel is needed.