Test for #439 – worker that catches a SystemExit exception