print time and exit after SIGINT is delivered