Added feature to cleanly exit using control-c