After loss of gnubg: regain operability - works!

  Also started a monitoring hook: at loss of gnubg a semaphore
  is being set that can be used by a monitoring tool.
Bugfix around reconnecting to gnubg.