Question to gurus with expect

Hi.,
I need to ask question for expect script.
I have prompt like [root@tlvexadb01 orachk]#
and very long script (orachk).
I added to expect script line
set prompt "(%|#|\\\$) $"
and insert into it also piece of code
----

expect {
    timeout {
        puts "Running..."
        exp_continue
    }
    "$prompt" {
        puts "Finished."
        exit 1 
    }
}

----
But with no success. When I received desired prompt (as above) script is remain with Running phrase and only after cntr+c combination finishing.
Probably I miss something.
Could anyone help me.,
Thanks and regards, beckss.