..in destructor if the process is still running. This is a workaround and a proper solution should be made on higher levels (QTerminal?) -> properly try to close the session and optionally present information from shell about the state.