Use -terminate Xfvb option instead of kill to control Xvfb's lifetime.

Killing the X server using signals is no good idea since the main program
is also the X server's client.
Use the X server's -terminate option to make it automatically terminate
when the last client exists.