Cancel execution and fix jsch issue