Stabilized node.js bridge api

- Updated force-break for stuck processes
- Updated socket, stdout and stderr handling