listen for SIGTERM as well as SIGINT

Currently, justrun only quits if it gets a SIGINT. This patch fixes it to quit on SIGTERM as well.