Of course, a hard reboot will do it. As will an axe.
You could soft reboot or restart gnome or restart X?
killall xscreensaver ... did you try that?
$ ps -U simon | grep defunct
22853 ? 00:00:00 netstat <defunct>
15699 ? 00:00:00 gnome-pty-helpe <defunct>
I got this by:
$ killall gnome-pty-helpe
gnome-pty-helpe: no process killed
but a subsequent check turned up both the above defunct.
repeated attempts to kill the process gives no output and the entries remain.
Just so you know this behavior is not just you