pexpect example
cleanup