Fix exit code, when keyboard interrupt is occurred