Implemented ability to cancel running planning process