The authorization prompt on macOS can take a long time to be acknowledged by the user, we should keep waiting for a connection as long as the debugserver instance we launched remains alive.
Fixes #836
Implements #727