Make sure Ruby properly kills Firefox process if silent startup times out.

Thanks to birtic for the patch.
Fixes issue 7392.