sage-shell:send-input does nothing if the output is not finished.