make sure all exceptions are handled and kill the processes