Try to send Control-C event to application console.