fix fastjson bugs
process ctrl-c for server