listen for "unhandledException"; exit timeout (end process if host not closed within 5sec);
Merge pull request #22 from abalandin/master

listen for "unhandledException"; exit timeout;