Adds :timeout option to stop system() after awhile

If the system() call doesn't return in soon enough time, test will then
fail

(This will have a conflict initially to apply after other recent PR #4 , as I did them as two separate pull requests)