Update spec for rescuing SignalException since #7951

After raising bug #7951 on bugs.ruby-lang.org about rescuing
SignalException we've discovered that Process.kill is asynchronous and
not guaranteed in MRI.  Adding a slight delay to the test allows it to
pass because the signal will be sent "soon after" Process.kill is
called.