Add hook for Ctrl+C