Add support for C-c stopping a process

- Add support for C-c stopping a process. This is done by calling get on the Queue (for retrieving results) in a loop.

- Add test for SIGINT

Not very happy with the way this while loop is implemented. Any tips on how this can be improved?