exit-signal is a string, convert it back to a number