Background jobs are no problem, they dont display the progress-dialog and just sit and wait until ping-response.

I detect the recursion already (just to log it and avoid entering a loop that could overflow the stack) - so there is no crash but the progress-dialog freezes until server is online (which looks bad, off course)
So : effect is achieved (Xbmc wakes server and then proceeds) - problem is the visual feedback hickup