Check for exit requests more often.

Signals were not getting propagated properly prior to this commit.
Sending ^C would not terminate the simulation in a timely fashion.