Make sockpath an argument
Add SIGINT handler