added python error catching to ConnectionBinding, to prevent uncaught exception crashes