"yiic shell" strange behaviour after CTRL-D


I am accessing my developer box via ssh.

After executing the command "yiic shell" in shell and performing necessary commands if I type CTRL-D (EOF) the yiic script hangs and prints out ">>" in loop.

However, CTRL-C works ok.

If this is possible in PHP, please make the catching of "CTRL-D" event to terminate the application.

PHP 5.2.0-8+etch13 (cli) (built: Oct  2 2008 08:26:18)

Best regards,